package com.wgh.product.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商品数据传输对象
 * 用于API请求和响应
 */
@Data
public class ProductDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String description;
    private Long brandId;
    private String brandName;
    private Long categoryId;
    private String categoryName;
    private BigDecimal price;
    private Integer stock;
    private Integer status;
    private String mainImage;
    private String imageUrls;
    private String attributes;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer salesVolume;
    private String skuInfo;
}